<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td><img width="202" height="45" src="../images/sub_menu_title_desk.gif"/></td>
</tr>
<tr>
<td><img width="202" height="17" src="../images/sub_menu_top.gif"/></td>
</tr>
<tr>
<td height="8" background="../images/sub_menu_bg.gif"><a target="_self" href="<?=$path?>timetable.php"><img width="202" height="19" border="0" src="../images/sub_menu_desk_01.gif"/></a></td>
</tr>
<tr>
<td height="8" background="../images/sub_menu_bg.gif"><a target="_self" href="<?=$path?>myBoard.php"><img width="202" height="24" border="0" src="../images/sub_menu_desk_02.gif"/></a></td>

</tr>
<tr>
<td height="8" background="../images/sub_menu_bg.gif"><a target="_self" href="<?=$path?>myCourseOrders.php"><img width="202" height="23" border="0" alt="" src="../images/sub_menu_desk_03.gif"/></a></td>
</tr>
<tr>
<td height="8" background="../images/sub_menu_bg.gif"><a target="_self" href="<?=$path?>myBookOrders.php"><img width="202" height="23" border="0" src="../images/sub_menu_desk_05.gif"/></a></td>
</tr>
<tr>
<td valign="top" background="../images/sub_menu_bg.gif"><a target="_self" href="<?=$path?>myCourseValuation.php"><img width="202" height="21" border="0" alt="" src="../images/sub_menu_desk_04.gif"/></a></td>
</tr>
<tr>
<td><img width="202" height="11" src="../images/sub_menu_bottom.gif"/></td>
</tr>
<tr>
<td><p><img width="202" height="10" src="../images/sub_menu_sp.gif"/></p></td>
</tr>
<tr>
<td><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td><img width="202" height="29" src="../images/sub_menu_desk_title.gif"/></td>
</tr>
<tr>
<td background="../images/sub_menu_desk_bg.gif"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td width="32"><img width="1" height="1" src="../images/blank.gif"/></td>
<td><table width="100%" cellspacing="0" cellpadding="0" border="0" class="font">
<tbody>
<?php 
if($_todayCourseData) {
    $size=sizeof($_todayCourseData);

    for($i=0;$i<$size;$i++) {
        $iconset = $_todayCourseData['starttime'] == (int)date('h') ? 'on' : 'off'; 
?><tr>
<td width="130" height="20"><a target="_self" href="#"><?=$_todayCourseData[$i]['name']?></a></td>
<td><img width="23" height="13" src="../images/sub_menu_desk_<?=$iconset?>.gif"/></td>
</tr>
<?
    }
} else {
    echo '<tr height=30><td colspan=2>오늘은 수업이 없습니다.</td></tr>';
}
?>
</tbody></table></td>
</tr>
</tbody></table></td>
</tr>
<tr>
<td><img width="202" height="4" src="../images/sub_menu_desk_bottom.gif"/></td>
</tr>
</tbody></table></td>
</tr>
<tr>
<td><img width="202" height="5" src="../images/sub_menu_sp.gif"/></td>
</tr>
<?php $_path = "../"; require_once("../tpl/_subtail.html"); ?>
</tbody></table>
